<?php

defined('IN_SCHOOL') or die();
/*
 * 安装
 */
$key = 'jy_vcodelimit';
$arr = array();
$value = 1;

$arr['k'] = $key;
$arr['v'] = core::json_encode($value);
$arr['expiry'] = 0;

if($this->db->set("kv-k-$key", $arr)) {
	return TRUE;
}else{
	return FALSE;
}

?>